.class public Lcom/instagram/android/fragment/da;
.super Lcom/instagram/e/b/b;
.source "FindVkontakteFriendsPromptFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 26
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    return-void
.end method

.method private X()V
    .locals 1

    .prologue
    .line 83
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->m()V

    .line 84
    invoke-static {}, Lcom/instagram/android/w/a;->a()Lcom/instagram/android/w/a;

    move-result-object v0

    .line 85
    if-eqz v0, :cond_0

    .line 86
    invoke-virtual {v0}, Lcom/instagram/android/w/a;->f()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/da;->a(Ljava/lang/String;)V

    .line 91
    :goto_0
    return-void

    .line 88
    :cond_0
    const/4 v0, 0x5

    invoke-static {p0, v0}, Lcom/instagram/android/activity/VkontakteAuthActivity;->a(Landroid/support/v4/app/Fragment;I)V

    goto :goto_0
.end method

.method private Y()V
    .locals 3

    .prologue
    .line 94
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/facebook/ba;->prompt_when_user_wants_to_skip_finding_friends_during_signup:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->find_friends:I

    new-instance v2, Lcom/instagram/android/fragment/de;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/de;-><init>(Lcom/instagram/android/fragment/da;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->yes_skip_this_step:I

    new-instance v2, Lcom/instagram/android/fragment/dd;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/dd;-><init>(Lcom/instagram/android/fragment/da;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 109
    return-void
.end method

.method private Z()V
    .locals 3

    .prologue
    .line 112
    new-instance v0, Lcom/instagram/e/b/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->m()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v1, Lcom/instagram/android/fragment/bx;

    invoke-direct {v1}, Lcom/instagram/android/fragment/bx;-><init>()V

    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->i()Landroid/os/Bundle;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    const-string v1, "next"

    invoke-virtual {v0, v1}, Lcom/instagram/e/b/a/a;->e(Ljava/lang/String;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 116
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/da;)V
    .locals 0
    .parameter

    .prologue
    .line 26
    invoke-direct {p0}, Lcom/instagram/android/fragment/da;->X()V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2
    .parameter

    .prologue
    .line 130
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->n()V

    .line 131
    new-instance v0, Lcom/instagram/android/fragment/hz;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->m()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/fragment/hz;-><init>(Landroid/support/v4/app/r;)V

    invoke-virtual {v0, p1}, Lcom/instagram/android/fragment/hz;->a(Ljava/lang/String;)Lcom/instagram/android/fragment/hz;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->find_friends_item_vkontakte_friends:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/da;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/hz;->c(Ljava/lang/String;)Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->c()Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->e()V

    .line 136
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/fragment/da;)V
    .locals 0
    .parameter

    .prologue
    .line 26
    invoke-direct {p0}, Lcom/instagram/android/fragment/da;->Y()V

    return-void
.end method

.method static synthetic c(Lcom/instagram/android/fragment/da;)V
    .locals 0
    .parameter

    .prologue
    .line 26
    invoke-direct {p0}, Lcom/instagram/android/fragment/da;->Z()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 34
    sget v0, Lcom/facebook/ax;->fragment_find_vkontakte_friends_prompt:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 140
    new-instance v0, Lcom/instagram/android/fragment/df;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/df;-><init>(Lcom/instagram/android/fragment/da;)V

    return-object v0
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 120
    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    .line 121
    invoke-static {}, Lcom/instagram/android/w/a;->a()Lcom/instagram/android/w/a;

    move-result-object v0

    .line 122
    if-eqz v0, :cond_0

    .line 123
    invoke-virtual {v0}, Lcom/instagram/android/w/a;->f()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/da;->a(Ljava/lang/String;)V

    .line 126
    :cond_0
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/e/b/b;->a(IILandroid/content/Intent;)V

    .line 127
    return-void
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 51
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->d(Landroid/os/Bundle;)V

    .line 58
    :try_start_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;

    invoke-virtual {v0}, Lcom/instagram/android/nux/SignedOutFragmentActivity;->l()V
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    .line 62
    :goto_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_find_friends:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/db;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/db;-><init>(Lcom/instagram/android/fragment/da;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 70
    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_skip:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/dc;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/dc;-><init>(Lcom/instagram/android/fragment/da;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 77
    invoke-virtual {p0}, Lcom/instagram/android/fragment/da;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_skip:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "<u>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget v2, Lcom/facebook/ba;->skip:I

    invoke-virtual {p0, v2}, Lcom/instagram/android/fragment/da;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</u>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 80
    return-void

    .line 59
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 181
    const-string v0, "register_flow_find_friends_vkontakte_prompt"

    return-object v0
.end method

.method public w()V
    .locals 1

    .prologue
    .line 45
    const/4 v0, 0x1

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 46
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 47
    return-void
.end method

.method public x()V
    .locals 1

    .prologue
    .line 39
    const/4 v0, 0x0

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 40
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 41
    return-void
.end method
